export default {
  state: {
    transferProcess: {}, // 存放移纤进度
    otdrTestProcess: {}, // 存放otdr测试进度
    otdrTestResult: {}, // 存放otdr测试结果
    lightTestProcess: {}, // 存放光功率测试进度
    lightTestResult: {}, // 存放光功率测试结果
    unplugProcess: {}, // 存放插拔纤进度
    videoCtrInfos: {}, // 视频调控状态列表
    taskProcess: {} // 任务进度
  },
  getters: {
    otdrTestProcess: state => state.otdrTestProcess,
    otdrTestResult: state => state.otdrTestResult,
    taskProcess: state => state.taskProcess
  },
  mutations: {
    setTransferProcess(state, params) {
      state.transferProcess = params
    },
    setOtdrTestProcess(state, params) {
      state.otdrTestProcess = params
    },
    setOtdrTestResult(state, params) {
      state.otdrTestResult = params
    },
    setLightTestProcess(state, params) {
      state.lightTestProcess = params
    },
    setLightTestResult(state, params) {
      state.lightTestResult = params
    },
    setUnplugProcess(state, params) {
      state.unplugProcess = params
    },
    setVideoCtrInfos(state, params) {
      state.videoCtrInfos = params
    },
    setTaskProcess(state, params) {
      state.taskProcess = params
    }
  },
  actions: {}
}
